import {request} from '../network/request';
// 专业
export function getMajorName(params){
    return request({
        url:'/major/query',
        method:"GET",
        params
    })
}
// 分页
export function getUserInfo(data){
    return request({
        url:'/student/queryPage',
        method:"POST",
        data
    })
}
// 添加
export function addUserInfo(data){
    return request({
        url:'/student/create',
        method:"POST",
        data
    })
}
// 编辑
export function editUserInfo(data){
    return request({
        url:'/student/update',
        method:"POST",
        data
    })
}
// 删除
export function delUserInfo(data){
    return request({
        url:'/student/delete',
        method:"POST",
        data
    })
}